package com.tjetc;

import java.util.Arrays;

public class _23Debug {
    public static void main(String[] args) {
        int[] arr = {1, -1, 10, -20, 100};
        //Arrays.sort ⽅法底层实现
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + "\t");
        }
    }

    public static void main1(String[] args) {
        //演示逐⾏执⾏代码
        int sum = 0;
        for (int i = 0; i < 5; i++) {
            sum += i;
            System.out.println("i=" + i);
            System.out.println("sum=" + i);
        }
        System.out.println("退出 for....");
    }
}
